#include "vect.h"
vector::vector(double tr, double tfi)
{
                      r=tr;
                      fi=tfi;
}
double vector::getr(){
     return r;
}
double vector::getfi(){
     return fi;
}
double vector::getX(){
     return -r*cos(fi)*1;
}
double vector::getY(){
     return -r*sin(fi)*1;
}
void vector::setr(double theR){
     r=theR;
}
void vector::setfi(double theFI){
     fi=theFI;
}
